//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-01A
TN_Widget.CreateTable([['Alex Warren','DC9 Nightclub','Washington, DC','Sunday','4/28/2024','8:00 PM','6338428','Alex-Warren-4-28-2024'],['Andrew Cushin','DC9 Nightclub','Washington, DC','Monday','4/29/2024','8:00 PM','6076273','Andrew-Cushin-4-29-2024'],['Juliet Ivy','DC9 Nightclub','Washington, DC','Saturday','5/4/2024','7:30 PM','6319240','Juliet-Ivy-5-4-2024'],['Babehoven','DC9 Nightclub','Washington, DC','Monday','5/6/2024','8:00 PM','6264368','Babehoven-5-6-2024'],['Grace Cummings','DC9 Nightclub','Washington, DC','Tuesday','5/7/2024','8:00 PM','6284037','Grace-Cummings-5-7-2024'],['Elita','DC9 Nightclub','Washington, DC','Thursday','5/9/2024','8:00 PM','6247754','Elita-5-9-2024'],['Glom','DC9 Nightclub','Washington, DC','Tuesday','5/14/2024','8:00 PM','6295318','Glom-5-14-2024'],['Lo Spirit','DC9 Nightclub','Washington, DC','Wednesday','5/15/2024','8:00 PM','6269319','Lo-Spirit-5-15-2024'],['Calva Louise','DC9 Nightclub','Washington, DC','Sunday','5/19/2024','7:00 PM','6232297','Calva-Louise-5-19-2024'],['Youth Fountain','DC9 Nightclub','Washington, DC','Tuesday','5/21/2024','8:00 PM','6232200','Youth-Fountain-5-21-2024'],['Pacific Avenue','DC9 Nightclub','Washington, DC','Wednesday','5/22/2024','8:00 PM','6270675','Pacific-Avenue-5-22-2024'],['Matthew Logan Vasquez','DC9 Nightclub','Washington, DC','Sunday','5/26/2024','8:00 PM','6193253','Matthew-Logan-Vasquez-5-26-2024'],['Lip Critic','DC9 Nightclub','Washington, DC','Sunday','6/2/2024','8:00 PM','6216751','Lip-Critic-6-2-2024'],['Slater','DC9 Nightclub','Washington, DC','Tuesday','6/4/2024','8:00 PM','6193254','Slater-6-4-2024'],['Kid Quill','DC9 Nightclub','Washington, DC','Wednesday','6/5/2024','8:00 PM','6364808','Kid-Quill-6-5-2024'],['Dreamer Boy','DC9 Nightclub','Washington, DC','Friday','6/7/2024','7:30 PM','6358596','Dreamer-Boy-6-7-2024'],['Snarls & Yasmin Nur','DC9 Nightclub','Washington, DC','Saturday','6/8/2024','7:30 PM','6347933','Snarls---Yasmin-Nur-6-8-2024'],['Mad Tsai','DC9 Nightclub','Washington, DC','Sunday','6/9/2024','8:00 PM','6290833','Mad-Tsai-6-9-2024'],['Cosmo's Midnight ','DC9 Nightclub','Washington, DC','Wednesday','6/12/2024','8:00 PM','6361051','Cosmo-s-Midnight--6-12-2024'],['Tommy Prine','DC9 Nightclub','Washington, DC','Wednesday','6/19/2024','8:00 PM','6319374','Tommy-Prine-6-19-2024'],['Xana','DC9 Nightclub','Washington, DC','Thursday','6/20/2024','8:00 PM','6278228','Xana-6-20-2024'],['Irontom','DC9 Nightclub','Washington, DC','Tuesday','7/9/2024','8:00 PM','6329387','Irontom-7-9-2024'],['Will Linley','DC9 Nightclub','Washington, DC','Saturday','7/27/2024','7:30 PM','6342876','Will-Linley-7-27-2024'],['Porridge Radio','DC9 Nightclub','Washington, DC','Friday','8/8/2070','7:00 PM','4455042','Porridge-Radio-8-8-2070'],['Katie Pruitt & William Prince','DC9 Nightclub','Washington, DC','Friday','8/22/2070','8:00 PM','4461165','Katie-Pruitt---William-Prince-8-22-2070'],['Peach Tree Rascals','DC9 Nightclub','Washington, DC','Tuesday','11/1/2072','8:00 PM','5201720','Peach-Tree-Rascals-11-1-2072']],'DC9 Nightclub','http://www.ticketnetwork.com/ticket/DC9-Nightclub-events.aspx');